// https://nuxt.com/docs/api/configuration/nuxt-config
export default defineNuxtConfig({
  compatibilityDate: '2024-04-03',
  devtools: { enabled: false },
  ssr: false,
  css: [
    "@/assets/font/iconfont.css",
  ],
  app: {
    head: {
      script: [
        { src: "/js/h5player.min.js" },
        { src: "/js/external_api.js" },
        { src: "/js/echarts.min.js" },
        { src: "/js/jsencrypt.min.js" },
        { src: "/js/web-control_1.2.7.min.js" },
      ],
    },
  },
  modules: [
    '@pinia/nuxt',
  ],

  runtimeConfig: {
    public: {
      // "https://zxz.linghang.tech:18818/vmp-server-ar/v1",
      apiBase: process.env.apiBase,
      wssBase: process.env.wssBase
      // apiBase: 'https://zxz.linghang.tech:18818/vmp-server-ar/v1',
      // wssBase: 'https://zxz.linghang.tech:18818/vmp-server-ar/v1'
    },
  }
})
